package com.space.entity;

/**
 * @author : 港某
 * @date : 2020/2/13 16:35
 */
public class City {
    private int cityId;
    private String cityName;
    private double cityPointX;
    private double cityPointY;

    public City() {
    }

    public City(int cityId, String cityName, double cityPointX, double cityPointY) {
        this.cityId = cityId;
        this.cityName = cityName;
        this.cityPointX = cityPointX;
        this.cityPointY = cityPointY;
    }

    public int getCityId() {
        return cityId;
    }

    public void setCityId(int cityId) {
        this.cityId = cityId;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public double getCityPointX() {
        return cityPointX;
    }

    public void setCityPointX(double cityPointX) {
        this.cityPointX = cityPointX;
    }

    public double getCityPointY() {
        return cityPointY;
    }

    public void setCityPointY(double cityPointY) {
        this.cityPointY = cityPointY;
    }

    @Override
    public String toString() {
        return "City{" +
                "cityId=" + cityId +
                ", cityName='" + cityName + '\'' +
                ", cityPointX=" + cityPointX +
                ", cityPointY=" + cityPointY +
                '}';
    }
}
